package com.itheima.leyou.mapper;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.itheima.leyou.po.Sku;
import com.itheima.leyou.po.Spu;
import com.leyou.item.dto.SpuDTO;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Service;

public interface SpuMapper extends BaseMapper<Spu> {
    @Select("select * from tb_spu where id = #{id}")
    Spu querySpuById(@Param("id") Long id);
}
